From 87fe7d1f70afc77e05f1c202d58547e7d088deef Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Sat, 19 May 2007 05:07:40 +0000 Subject: [PATCH] (x_calc_absolute_position): Add BLOCK_INPUT around mac_get_window_bounds. --- src/macterm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/macterm.c b/src/macterm.c index 1acb521f47b..9c1a151f4a9 100644 --- a/src/macterm.c +++ b/src/macterm.c @@ -6084,7 +6084,9 @@ x_calc_absolute_position (f) /* Find the offsets of the outside upper-left corner of the inner window, with respect to the outer window. */ + BLOCK_INPUT; mac_get_window_bounds (f, &inner, &outer); + UNBLOCK_INPUT; width_diff = (outer.right - outer.left) - (inner.right - inner.left); height_diff = (outer.bottom - outer.top) - (inner.bottom - inner.top); -- 2.30.2